# 1.bool类型
import random

# bool_1 = True
# bool_2 = False
# print(bool_1,type(bool_1))
#
# name1 = "Liuhao"
# name2 = "liuhao"
# print(name1!=name2)


# 2.if判断
# a = 10
# if a >= 10:
#     print("大于等于5")
#     print("if")
# else:
#     print("小于5")
#
# age = input("请输入年龄:")
# age = int(age)
# if age >= 18:
#     print("补票10元")
# elif age<15:
#     print("游玩愉快")
# else:
#     print("免费")

# b = int(input())
# if b<70:
#     if b>30:
#         print("Yes")
#     else:
#         print("No")
# else:
#     print("大于70了")


# 猜数字
# num = random.randint(1,10)
# guess_num = int(input("猜数字:"))
# if guess_num == num:
#     print("猜对了")
# else:
#     if guess_num > num:
#         print("猜大了")
#     else:
#         print("猜小了")
#


# 3.while循环
# i = 0
# ans = 0
# while i <= 100:
#     print("小美，我爱你")
#     ans+=i
#     i += 1
#
# print(ans)
# print(f"1-100的和为{ans}")
# print("1-100的和为%d" %ans)

# 输出99乘法表
# i = 1
# while i < 10:
#     j = 1
#     while j <= i:
#         print("%d * %d = %d\t" % (j, i, i * j), end='')
#         j += 1
#     print()
#     i += 1

# 4.for循环
# name = "123456789"
# for x in name:
#     print(x)


# for x in range(10):
#     print(x)
#
# for x in range(5,10):
#     print(x)
#
for x in range(2,10,2):
    print(x)
#

